Simple clock using the date object and the setInterval function